package com.ruoyi.lvlian.dto;

import com.ruoyi.common.core.annotation.Excel;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.constraints.NotNull;
import java.util.List;

@ApiModel(value = "跟单信息对象dto", description = "跟单信息对象dto")
@Data
@ToString
public class OrderInfoDto {
    private String orderNum;
    private String sellerPhone;
    private String buyerPhone;
//    @NotNull(message = "跟车方电话不能为空")
    @ApiModelProperty(value = "跟车方电话")
    private String businessUserPhone;
    private String plateNo;
    private String period;

    @ApiModelProperty(value = "司机电话driver_phone")
    private String driverPhone;

// 1创建中·待请求  Request  2待司机授权 authorization 3司机已授权·待发起Authorized start  4运输中  5司机已交货·待查收  6已完成 7跟车方已取消
    @ApiModelProperty(value = "全部 all ,完成 未完成 notYet 已取消")
    private String businessUserStatus;

//    @NotNull(message = "orgCodes不能为空") // 这是实际的验证注解
    private List<String> orgCodes;
    @ApiModelProperty(value = "升序还是降序 true升序 ，false降序")
    private boolean ascending;
    @ApiModelProperty(value = "销售跟单/采购跟单")
    private String category;
    @ApiModelProperty(value = "业务人员开始时间 ")
    private String businessUserStartTime;

    @ApiModelProperty(value = "司机姓名")
    private String driverName;

    @ApiModelProperty(value = "发货人姓名")
    private String sellerName;

    @ApiModelProperty(value = "收货人姓名")
    private String buyerName;

    @ApiModelProperty(value = "manual / auto")
    private String captureMode;
}

